package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.article.query.DestinationQuery;
import java.util.List;

public interface DestinationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Destination record);

    Destination selectByPrimaryKey(Long id);

    List<Destination> selectAll();

    int updateByPrimaryKey(Destination record);

    List<Destination> selectDestsByDeep(int deep);


    List<Destination> selectDestByIds(Long[] destIds);

    List<Destination> selectForList(DestinationQuery qo);


    List<Destination> selectSubDestParentId(Long parentId);

    String getSeasonCommend(Long monthId);

    List<Destination> selectDestByMonthIds(Long[] ids);

    Destination selectParentByName(Long destId);

    List<Destination> selectHotDest();

    List<Destination> selectAbroadSubDestParentId();


//    Destination selectSubDestParentId2();
}